from animal_demo import Animal

class BlackDog(Animal):

    black_dog_ethic = "黑狗"

    def black_cat_speak(self):
        print("黑狗叫：忘乌忘乌忘乌")

    def introduce(self):
        print("我是一只黑狗!!!")

    def fun(self,name,speak,habit):
        print("我是一只黑狗，我叫{},我是这样叫的:{},我喜欢:{}".format(name,speak,habit))